/**
 * 
 */
package com.oracle.jimu.bean;

import java.io.Serializable;
import java.util.Set;

/**
 * @author zhijiaozhongxin
 *
 */
public class ProductBean implements Serializable{
	private Integer productid;
	private SubType subtype;
	private String productname;
	private Double price;
	private Double nowprice;
	private Integer productNum;
	private Integer isHost;
	private String photo;
	private Set<OrderItem> orderItems;
	private Set<Comment> comments;
	private Set<ProductAttr> productAttrs;
	
	
	public Integer getIsHost() {
		return isHost;
	}
	public void setIsHost(Integer isHost) {
		this.isHost = isHost;
	}
	public Set<ProductAttr> getProductAttrs() {
		return productAttrs;
	}
	public void setProductAttrs(Set<ProductAttr> productAttrs) {
		this.productAttrs = productAttrs;
	}
	public Set<Comment> getComments() {
		return comments;
	}
	public void setComments(Set<Comment> comments) {
		this.comments = comments;
	}
	/**
	 * @return the isHost
	 */

	public Set<OrderItem> getOrderItems() {
		return orderItems;
	}
	public void setOrderItems(Set<OrderItem> orderItems) {
		this.orderItems = orderItems;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	/**
	 * @return the productid
	 */
	public Integer getProductid() {
		return productid;
	}
	/**
	 * @param productid the productid to set
	 */
	public void setProductid(Integer productid) {
		this.productid = productid;
	}
	/**
	 * @return the subtype
	 */
	public SubType getSubtype() {
		return subtype;
	}
	/**
	 * @param subtype the subtype to set
	 */
	public void setSubtype(SubType subtype) {
		this.subtype = subtype;
	}
	/**
	 * @return the productname
	 */
	public String getProductname() {
		return productname;
	}
	/**
	 * @param productname the productname to set
	 */
	public void setProductname(String productname) {
		this.productname = productname;
	}
	/**
	 * @return the price
	 */
	public Double getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(Double price) {
		this.price = price;
	}
	/**
	 * @return the nowprice
	 */
	public Double getNowprice() {
		return nowprice;
	}
	/**
	 * @param nowprice the nowprice to set
	 */
	public void setNowprice(Double nowprice) {
		this.nowprice = nowprice;
	}
	/**
	 * @return the productNum
	 */
	public Integer getProductNum() {
		return productNum;
	}
	/**
	 * @param productNum the productNum to set
	 */
	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}
	
}
